const database = require('../database')
const statement = require('../config/statementConfig')

class UserService {

    constructor() {

    }

    findUserByName = name => database.exec(statement.statementGetUserInfoByUserNameByLike(name))
    findAllUsers = ()=>database.exec(statement.statementGetAllUserList())
}


module.exports = userService = new UserService()
